extends layout

block body
  main
    picture.logo
      source(srcset='/logo.svg')
      img(src='/logo.png' alt='Instant.io')
    p.subtitle Streaming file transfer over <a href="http://webtorrent.io" target="_blank">WebTorrent</a> (torrents on the web)

    h1#logHeading(style='display: none') Log
    .speed
    .log

    section
      h1 Start sharing
      p
        | Drag-and-drop files to begin seeding. Or choose a file:
        | #{ ' ' }
        input(type='file', name='upload', multiple)

    section
      h1 Start downloading
      form
        label(for='torrentId') Download from a magnet link or info hash
        input(name='torrentId', placeholder='magnet:' required)
        button(type='submit') Download

    footer
      p: small Powered by <a href="http://webtorrent.io" target="_blank">WebTorrent</a>. Works in Chrome, Firefox, and Opera. Source code available on <a href="https://github.com/feross/instant.io" target="_blank">GitHub</a>, 100% open source, free software. © 2016 WebTorrent, LLC.
